
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@smui/ripple
Advanced tools
Ripples are an interaction feedback mechanism.
See MDC Ripple for more information on API and Sass mixins.
See the Sass variable file for styling variables.
npm install --save-dev @smui/ripple
<script>
import Ripple from '@smui/ripple';
</script>
<p use:Ripple={{ripple: true, color: 'surface'}} tabindex="0">
Here is an element with a ripple.
</p>
in action: https://sveltematerialui.com/demo/ripple
demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/ripple.svelte
A ripple Svelte action.
The action accepts an array, with two entries. The first is a boolean, whether the ripple is enabled. The second is an object with the props:
ripple
- Whether to enable the ripple.unbounded
- Whether the ripple is unbounded.color
- The ripple color. ('surface', 'primary', or 'secondary')classForward
- A function that receives an array of classes. This is used to work around Svelte removing ripple classes in certain scenarios.FAQs
Svelte Material UI - Ripple
The npm package @smui/ripple receives a total of 11,731 weekly downloads. As such, @smui/ripple popularity was classified as popular.
We found that @smui/ripple demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.